Copying and Pasting an Assertion or Its Components
When using the copy function in the Assertions tab, you can copy an individual element or a group of elements connected by an operator.
To copy and paste an individual element:
1.Click the element. A blue border appears around it
2.Right-click the element and select Copy from the menu.
3.To paste the element, do one of the following:
- To paste a copied variable (including constants) in place of another variable, right-click the variable you want to replace and select Paste from the menu.
- To paste a copied variable (including constants) as the child of an operator, right-click the operator and select Paste from the menu.
- To paste a copied operator as the parent of a variable (including constants), right-click the variable and select Paste from the menu.
- To paste a copied operator as the parent of another operator, right-click the operator you want to add a parent to and select Paste from the menu. Then select Add as Parent from the new menu that appears.
- To paste a copied operator as the child of another operator, right-click the operator you want to add a child to and select Paste from the menu. Then select Add as Child from the new menu that appears.
- To paste a copied operator in place of another operator, right-click the operator you want to replace and select Paste from the menu. Then select Replace from the new menu that appears.
To copy and paste a group of elements:
1.In the Assertion Canvas, click and drag across the group of elements. A blue border appears around each selected element.
2.Right-click the selected elements and select Copy from the menu.
3.To paste the copied set of elements as the child of another operator, right-click the operator and select Paste from the menu.
Note that when copying a group of elements, you cannot paste the elements as a parent of another operator or in place of another variable or operator.